Gets the property with the given name.

Namespace: Keystone.Carbonite
Assembly: Keystone.Carbonite (in Keystone.Carbonite.dll)

public TProperty GetProperty<TProperty>( 
string name 
)
This language is not supported or no code example is available.

Type Parameters

TProperty

The property type.

Parameters

name

Type: string

The property name.

Return Value

The value of the requested property.
Exception type Condition

ArgumentException

If a property with the given name is not a member of the current entity.

InvalidOperationException

If a property with the given name is write only.

Windows, Windows Server, OS X, macOS, iOS, tvOS, Android, Linux, AWS, Azure

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.

.NET Framework

Supported in: 4.6

Others

Xamarin, Mono